using RAG.Domain.Entities.App;

namespace RAG.Domain.Repositories;

public interface IVectorRepository
{
    Task<Vectors> CreateAsync(Vectors vector);
    Task<List<(Guid ChunkId, double Similarity)>> SearchSimilarAsync(
        float[] queryEmbedding,
        int topK,
        double threshold);
    Task DeleteByChunkIdAsync(Guid chunkId);
}
